﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using BIOrdenes;
using BLGestionOrdenes;

namespace WcfOrdenServicio
{
    // NOTE: If you change the interface name "IService1" here, you must also update the reference to "IService1" in App.config.
    [ServiceContract]
    public interface ISalesOrderService
    {
        [OperationContract(IsOneWay=false, IsInitiating=true)]
        LoginInfo Authenticate(string lpLogin, string lpPassword);

        [OperationContract(IsOneWay = false, IsInitiating = false)]
        MenuAccesoCollection Authorize();

        // TODO: Add your service operations here
    }
}
